package com.diudiutechnology.www.yadiudiu.yadiudiu.singlecall.MyActivity;

import android.content.Context;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;

import com.diudiutechnology.www.yadiudiu.R;
import com.diudiutechnology.www.yadiudiu.yadiudiu.main.MyActivity.BaseActivity;
import com.diudiutechnology.www.yadiudiu.yadiudiu.singlecall.MyActivity.ImmediatelyActivity;
import com.diudiutechnology.www.yadiudiu.yadiudiu.singlecall.MyActivity.ResumeDetailsActivity;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by Administrator on 2017/8/21.
 * 简历查询
 */

public class ResumeTheQueryActivity extends BaseActivity implements View.OnClickListener {
    @Bind(R.id.retur)//返回
    LinearLayout retur;

    @Bind(R.id.button)//查询
    Button button;

    @Bind(R.id.immediately)//预测年薪
    LinearLayout immediately;

    Context context;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_resume_the_query);
        ButterKnife.bind(this);
        context=this;
        initView();
    }

    private void initView() {
        retur.setOnClickListener(this);
        button.setOnClickListener(this);
        immediately.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.retur:
                finish();
                break;
            case R.id.button:
               startActivity(new Intent(context,ResumeDetailsActivity.class));
                break;
            case R.id.immediately:
                startActivity(new Intent(context,ImmediatelyActivity.class));
                break;
        }
    }
}
